<?php
use herosphp\bean\Beans;
/**
 * admin模块Beans装配配置
 * @author haiwera<zhanhh@pvc123.com>
 */
$beans = array(
	//RoleService configs
	'admin.adminRole.service' => array(
		'@type' => Beans::BEAN_OBJECT,
		'@class' => 'admin\service\RoleService',
		'@params' => array('AdminRole')


	),
	//NodeService configs
	'admin.adminNode.service' => array(
		'@type' => Beans::BEAN_OBJECT,
		'@class' => 'admin\service\NodeService',
		'@params' => array('AdminNode')

	),
	//SettingService configs
	'admin.adminSetting.service' => array(
		'@type' => Beans::BEAN_OBJECT,
		'@class' => 'admin\service\SettingService',
		'@params' => array('AdminSetting')

	),
	//LogService configs
	'admin.adminOperatorLog.service' => array(
		'@type' => Beans::BEAN_OBJECT,
		'@class' => 'admin\service\LogService',
		'@params' => array('AdminOperatorLog')

	),
	//RbacService configs
	'admin.adminManager.service' => array(
		'@type' => Beans::BEAN_OBJECT,
		'@class' => 'admin\service\RbacService',
		'@params' => array('AdminManager')//,'AdminRole','AdminNode','AdminManagerRole','AdminRoleNode'

	),
	//AdminMangerLoginLogService configs
	'admin.adminManagerLoginLog.service' => array(
		'@type' => Beans::BEAN_OBJECT,
		'@class' => 'admin\service\AdminMangerLoginLogService',
		'@params' => array('AdminManagerLoginLog')

	),
    //MemberService configs
    'admin.member.service' => array(
        '@type' => Beans::BEAN_OBJECT,
        '@class' => 'admin\service\MemberService',
		'@params' => array('Member')

    ),
    //AdminMemberGroupService configs
    'admin.memberGroup.service' => array(
        '@type' => Beans::BEAN_OBJECT,
        '@class' => 'admin\service\MemberGroupService',
		'@params' => array('MemberGroup')

    ),
	//NavService configs
	'admin.adminNav.service' => array(
		'@type' => Beans::BEAN_OBJECT,
		'@class' => 'admin\service\NavService',
		'@params' => array('AdminNav')

	),
	//OperationLogService configs
	'admin.operationLog.service' => array(
		'@type' => Beans::BEAN_OBJECT,
		'@class' => 'admin\service\OperationLogService',
		'@params' => array('OperationLog')

	),
);
return $beans;
